package pure.engine 
{
	import flash.events.EventDispatcher;
	import flash.events.IEventDispatcher;
	import pure.engine.system.DelayManager;
	import pure.engine.system.InputManager;
		
	import pure.engine.system.ns_despair;
	use namespace ns_despair;
	
	
	// 多功能实用工具
	
	// [Author] - Pure
	//
public class Multiple 
{
	
	
	// 延迟管理器
	
	// [Hint] - 可独立调用
	public static function get delay():DelayManager
	{
		return m_delay || (m_delay = new DelayManager());
	}
	
	
	// 输入管理器
	
	// [Hint] - 需启动Despair
	public static function get input():InputManager
	{
		return m_input || (m_input = new InputManager());
	}
	

	// 事件侦听器
	public static function get notifier():IEventDispatcher
	{
		return m_notifier;
	}
	
	
	
	
	
	
	
	
	//======================
	// Member
	//======================

	
	ns_despair static var m_delay:DelayManager;
	
	ns_despair static var m_input:InputManager;
	
	ns_despair static var m_notifier:IEventDispatcher = new EventDispatcher();
	
	
}

}